import request from '@/utils/request'

// 查询常住人口列表
export function listResident_population(query) {
  return request({
    url: '/report/resident_population/list',
    method: 'get',
    params: query
  })
}

// 查询常住人口详细
export function getResident_population(id) {
  return request({
    url: '/report/resident_population/' + id,
    method: 'get'
  })
}

// 新增常住人口
export function addResident_population(data) {
  return request({
    url: '/report/resident_population',
    method: 'post',
    data: data
  })
}

// 修改常住人口
export function updateResident_population(data) {
  return request({
    url: '/report/resident_population',
    method: 'put',
    data: data
  })
}

// 删除常住人口
export function delResident_population(id) {
  return request({
    url: '/report/resident_population/' + id,
    method: 'delete'
  })
}
